package com.maoyan.quickdevelop.common.core.domain.dqroom;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "dq_room")
public class DqRoom implements Serializable {
  private static final long serialVersionUID = 1L;
  @TableId(value = "room_id")
  private Long roomId;
  @TableField(value = "room_name")
  private String roomName;
  @TableField(value = "introduce")
  private String introduce;
  @TableField(value = "total_num")
  private String totalNum;
  @TableField(value = "remainder_num")
  private String remainderNum;
  @TableField(value = "room_prices")
  private String roomPrices;
  @TableField(value = "room_image")
  private String roomImage;
  @TableField(value = "status")
  private String status;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
